<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>
    <script>
    //define function
    function sayHello()
    {
      alert("hello");
    }
    //call function
    sayHello();
    </script>
  </body>
<html>
